package com.qcby.onlinelearningplatform.Dao;

import com.qcby.onlinelearningplatform.Entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDao {

    public Student login(String s_sno);

    public List<StudentChannel> studentChannel();

    public List<Topic> studentTopic(Integer pageSize,Integer pageIndex);

    public List<Topic> topicLikeTitle(Topic topic);

    public int insertTopic(Topic topic);

    //课件展示界面
    public List<ClassFile> studentClassfile(Integer pageSize, Integer pageIndex);

    //课件模糊查询
    public List<ClassFile> classfileLikeName(ClassFile classFile);

    public List<HomeWork> studentHomework(Integer pageSize,Integer pageIndex);

    public List<HomeWork> homeworkLikeName(HomeWork homeWork);
}
